package com.yw.uglygeeker.webservice;

import javax.jws.WebMethod;
import javax.jws.WebService;

import org.springframework.beans.factory.annotation.Autowired;

import com.yw.uglygeeker.pojo.SysDict;
import com.yw.uglygeeker.service.SysDictService;

@WebService
public class SampleEndpoint{
	
	@Autowired
	private SysDictService sysDictService;
	
	@WebMethod
	public String sayHello(){
		return "Hello,devintam!";
	}
	
	@WebMethod
	public SysDict getDict(Long id){
		return sysDictService.getDict(id);
	}
}